package com.byxy.mysystem.service.system.impl;

import com.byxy.mysystem.model.system.SysUser;
import com.byxy.mysystem.mapper.system.SysUserMapper;
import com.byxy.mysystem.service.system.ISysUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户表 服务实现类
 * </p>
 *
 * @author omd
 * @since 2022-09-23
 */
@Service
public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> implements ISysUserService {
    /**
     * 根据用户名查询用户
     *
     * @param userName
     * @return
     */
   public SysUser selectByName(String userName){
       return baseMapper.selectByName(userName);
   }
}
